Skip to content

Conversation

jfroche
Copy link
Collaborator

@jfroche jfroche commented Jun 23, 2025

Build multiple versions of the postgis extension on different PostgreSQL versions.
Add test for the extensions and their upgrade on PostgreSQL 15 and 17.

@jfroche jfroche requested review from a team as code owners June 23, 2025 17:01
@jfroche jfroche force-pushed the multi-version-ext/postgis branch from 70167f4 to ac8a377 Compare June 23, 2025 17:26
Copy link
Contributor

@hunleyd hunleyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebase to fix conflicts?

@samrose samrose force-pushed the multi-version-ext/postgis branch from ac8a377 to 3f53f90 Compare September 26, 2025 13:37
@samrose
Copy link
Collaborator

samrose commented Sep 29, 2025

Please don’t merge this one. Upgrade tests are failing

Copy link
Collaborator

@samrose samrose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrade tests failing

@samrose samrose requested review from samrose and hunleyd October 2, 2025 18:40
jfroche and others added 7 commits October 2, 2025 18:07
Build multiple versions of the postgis extension on different PostgreSQL versions.
Add test for the extensions and their upgrade on PostgreSQL 15 and 17.
This fix ensures that the control files reference $libdir/$ext-$MIN_MAJ_VERSION (e.g., $libdir/postgis-3.3) which matches the actual library names built with the
  --with-library-minor-version flag. This allows:

  1. Multiple PostGIS versions to coexist (3.3.2 and 3.3.7 both use postgis-3.3.so)
  2. Extensions to properly find their libraries during upgrades
  3. The multi-version functionality to work correctly
@samrose samrose force-pushed the multi-version-ext/postgis branch from 567f982 to d4713cf Compare October 2, 2025 22:09
Copy link
Collaborator

@samrose samrose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now passing

@samrose samrose merged commit e430828 into develop Oct 3, 2025
24 of 25 checks passed
@samrose samrose deleted the multi-version-ext/postgis branch October 3, 2025 00:26
hunleyd added a commit that referenced this pull request Oct 6, 2025
* 'develop' of github.com:supabase/postgres: (29 commits)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1818)
  fix: update Dockerfiles for changes to postgis multiversion (#1817)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1813)
  feat: support multiple versions of the postgis extension (#1667)
  Update pgsql-http to handle semver (#1816)
  feat: add retry policy for auth service routes (#1782)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1811)
  fix: move tmpdir for SAA to one that always exists (#1799)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1810)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1809)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1807)
  build: automatically cancel old tests/build on new push (#1808)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1804)
  docs: small adjust (#1806)
  docs: getting started guide in README (#1805)
  fix: templating of SAA service file
  fix: adjust the qemu vars filename
  refactor(ansible): bring our ansible up to modern ansible-lint standards
  feat: support multiple versions of the http extension (#1664)
  feat: supply a slightly different supabase-admin-agent configuration for qemu artifacts
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants